import java.util.ArrayList;

public class 数组反射测试 {


    public static void main(String[] args) throws NoSuchFieldException {
        Object a = new int[1];
        int[][] b = new int[1][1];

        Class<Object[]> aa = (Class<Object[]>) b.getClass().asSubclass(Object[].class);
        System.out.println(aa);

        System.out.println(a.getClass().isAssignableFrom(Object[].class));


        System.out.println(a.getClass());
        System.out.println(b.getClass());
        System.out.println(a instanceof Object[]);
        System.out.println(b instanceof Object[]);


        Object s = "aaaa";
        String j = (String) s;
        System.out.println(j);

    }
}
